<?php
include_once 'inc/db.php';
include_once 'inc/core.php';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
<title>question mark vs. deutsche mark</title>

<link rel="stylesheet" type="text/css" href="css/divtable.css" />

<script src="../js/prototype.js" type="text/javascript"></script>
<script src="../js/scriptaculous.js" type="text/javascript"></script>


<body>
<a href="#" onclick="$$('div.d').each( function(e) { e.visualEffect('slide_up',{duration:1.5}) }); return false;">SlideUp</a> |
<a href="#" onclick="$$('div.d').each( function(e) { e.visualEffect('slide_down',{duration:1.5}) }); return false;">SlideDown</a>
<br />
<div id="container">
  <div id="row">

  	<div id="left">
  		<h4>Left Col</h4>
  		<p>...</p>
  	</div>

  	<div id="middle">
  		<h4>Middle Col</h4>
  		<p>...</p>
  	</div>

  	<div id="right">
    	<h4>Right Col</h4>
    	<p>...</p>
  	</div>

	</div>
	  <div id="row">

  	<div id="left">
  		<h4>Left Col</h4>
  		<p>...</p>
  	</div>

  	<div id="middle">
  		<h4>Middle Col</h4>
  		<p>...</p>
  	</div>

  	<div id="right">
    	<h4>Right Col</h4>
    	<p>...</p>
  	</div>

	</div>
</div>

<br />
<div id="container" align="center">
  <div id="row">
		<div id="middle">x</div>
		<div id="middle">id</div>
		<div id="middle">from</div>
		<div id="middle">to</div>
		<div id="middle">cc</div>
		<div id="middle">bcc</div>
		<div id="middle">subj</div>
		<div id="middle">msg</div>
		<div id="middle">saat</div>
		<div id="middle">ip</div>
		<div id="middle">sesid</div>
	</div>
	<?php
	$sorgu = mysql_query("SELECT * FROM ise_log ORDER BY id DESC LIMIT 20");
	while($row = mysql_fetch_array($sorgu))
	{
		?>
		
		<?php /*<div onDblClick="new Effect.BlindUp(this, {duration: 4})"> */?>
	<div id="row" class="d" onDblClick="new Effect.BlindUp(this, {duration: 4})">
		<div id="middle"> x </div>
		<div id="middle"><?php echo $row['id']; ?></div>
		<div id="middle"><?php echo $row['from']; ?></div>
		<div id="middle"><?php echo $row['to']; ?></div>
		<div id="middle"><?php echo $row['cc']; ?></div>
		<div id="middle"><?php echo $row['bcc']; ?></div>
		<div id="middle"><?php echo $row['subject']; ?></div>
		<div id="middle"><?php echo $row['message']; ?></div>
		<div id="middle"><?php echo $row['tarihsaat']; ?></div>
		<div id="middle"><?php echo $row['ip']; ?></div>
		<div id="middle"><?php echo $row['sesid']; ?></div>
	</div>
	<?php
	}
	?>
</div>